﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cstudy.MODEL
{
    /// <summary>
    /// 资源
    /// </summary>
    public class resources
    {
        private int resid;
        /// <summary>
        /// 资源ID
        /// </summary>
        public int ResID
        {
            get { return resid; }
            set { resid = value; }
        }
        private string title;
        /// <summary>
        /// 资源标题
        /// </summary>
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private string content;
        /// <summary>
        /// 资源内容
        /// </summary>
        public string Content
        {
            get { return content; }
            set { content = value; }
        }
        private int authorid;
        /// <summary>
        /// 资源作者
        /// </summary>
        public int AuthorID
        {
            get { return authorid; }
            set { authorid = value; }
        }
        private DateTime createdate;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate
        {
            get { return createdate; }
            set { createdate = value; }
        }
        private int classid;
        /// <summary>
        /// 分类ID
        /// </summary>
        public int ClassID
        {
            get { return classid; }
            set { classid = value; }
        }
    }
}
